import { VueComponent } from "@/core/types";
import { componentName } from "..";

export interface IData {}
type ThemeType = "default" | "primary" | "success";
type SizeType = "large" | "small";
export interface IProps {
  text: string;
  type?: ThemeType;
  ghost?: boolean;
  size?: SizeType;
  click(): void;
}

export class ButtonComp extends VueComponent<IData, IProps, ButtonComp> {
  getComponentName(): string {
    return componentName.ButtonComp;
  }
}
